package com.yhsoft.goods.controller.Po;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @author: yyyyyyyh
 * @create: 2023-10-02
 * @Version 1.0
 **/
@Data
public class GoodSkuPo {

    @ApiModelProperty("商品skuNameId,新增不填，修改必填")
    private Integer id;

    @ApiModelProperty("sku名称")
    @NotBlank(message = "sku名称不能为空!")
    private String skuName;

    @Valid
    List<skuInfoPo> SkuInfoList;

}
